package com.stefanini.pe.bbva.bp.in.bo.datasource;

import java.util.List;

import net.sf.jasperreports.engine.JRDataSource;
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;

public class DetallePorContratos{
	
	private List listaDetalle;
	private List total;
	
	public List getListaDetalle() {
		return listaDetalle;
	}
	public void setListaDetalle(List listaDetalle) {
		this.listaDetalle = listaDetalle;
	}
	
	public JRDataSource getDetalleDS()         
		{
		    return new JRBeanCollectionDataSource(listaDetalle);   
		}
	
	public JRDataSource getDetalleTotalDS()         
	{
	    return new JRBeanCollectionDataSource(total);   
	}
	
	public List getTotal() {
		return total;
	}
	public void setTotal(List total) {
		this.total = total;
	}
}
